package src.edu.wayne.cs.csc4110.hw6.tests;

import static org.junit.Assert.*;

import javax.swing.JPanel;

import org.junit.Before;
import org.junit.Test;

import src.edu.wayne.cs.csc4110.hw6.implementations.VideoFrameImpl;

public class GraphicalUserInterfaceTests {

	@Before
	public void setUp() throws Exception {
	}

	@Test
	/**
	 * loads a frame and passes it a panel
	 */
	public void basicFrameTest() {
		VideoFrameImpl myVideoFrame = VideoFrameImpl.getVideoFrame();
		myVideoFrame.setCurrentPanel(new JPanel(), "A Blank Panel");
		assertEquals(myVideoFrame.getTitle(), "A Blank Panel");
	}
	

}
